diff options
| author | Michael Williamson <mike@zwobble.org> | 2023-10-08 11:39:52 +0100 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2023-10-08 11:39:52 +0100 |
| commit | cea0bc0d3bfe54a799bbbcd491e3221aa7103aa4 (patch) | |
| tree | a628073c21be565887f21e0ba5cb6769e09cd405 /snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenDefineStructTests]/[method:canGenerateCodeForDefiineStruct(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected | |
| parent | b0a288f03774d3df6f4502af7748a52012e05029 (diff) | |
Tidy up snapshots
Diffstat (limited to 'snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenDefineStructTests]/[method:canGenerateCodeForDefiineStruct(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected')
1 files changed, 0 insertions, 49 deletions
diff --git a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenDefineStructTests]/[method:canGenerateCodeForDefiineStruct(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenDefineStructTests]/[method:canGenerateCodeForDefiineStruct(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected deleted file mode 100644 index c7b77936..00000000 --- a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenDefineStructTests]/[method:canGenerateCodeForDefiineStruct(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected +++ /dev/null @@ -1,49 +0,0 @@ -Compilation unit elements: - -( - function - "shed__function__User__0" - visibility=private - locals=((param "closurePointer__0" data-ptr) (param "local__isActive" int) (param "local__name" int) (val "structValuePointer__0" data-ptr) (val "structValue__0" int)) - return-type=int - body=( - (alloc-heap (local "structValuePointer__0") (struct (int int))) - ( - memory-store - pointer=(local "structValuePointer__0") - layout=(struct (int int)) - offset=(0) - value=(local "local__name") - ) - ( - memory-store - pointer=(local "structValuePointer__0") - layout=(struct (int int)) - offset=(1) - value=(local "local__isActive") - ) - (data-ptr-to-int (local "structValue__0") (local "structValuePointer__0")) - (return (local "structValue__0")) - ) -) - -Locals: - * (val "structType__User__0" int) - * (val "closurePointer__User__0" data-ptr) - -Instructions: - -( - (alloc-heap (local "closurePointer__User__0") (struct (function-ptr (struct ())))) - ( - memory-store - pointer=(local "closurePointer__User__0") - layout=(struct (function-ptr (struct ()))) - offset=(0) - value=(function-ptr "shed__function__User__0") - ) - (data-ptr-to-int (local "structType__User__0") (local "closurePointer__User__0")) -) - -Temporary stack: - * structType__User__0 |
